<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <link rel="shortcut icon" href="./ico/qf.ico">
    <link rel="stylesheet" href="./css/index.css">
    <link rel="stylesheet" href="./css/swiper-bundle.min.css"/>
    <link rel="stylesheet" href="./css/swiperbase.css">
    <link rel="stylesheet" href="./css/shop.css">
       <!-- Demo styles -->
    <script src="./js/axios.js"></script>
</head>
<body>
    <header>
        <div class="ico">
            <h1><a href=""><img src="./img/logo-h2.png" alt=""></a></h1>
        </div>
      <div class="nav">
          <ul>
              <li><a href="#">小米手机</a></li>
              <li><a href="#">红米手机</a></li>
              <li><a href="#">电视</a></li>
              <li><a href="#">笔记本</a></li>
              <li><a href="#">服务</a></li>
              <li><a href="#">社区</a></li>
              <div class="user">请登录</div>
              <div class="quit" style="display: none;">退出</div>
          </ul>

      </div>
    </header>

<!-- 轮播图部分 -->
     <!-- Swiper -->
     <div class="swiper mySwiper">
        <div class="swiper-wrapper">
            <div class="swiper-slide"></div>
            <div class="swiper-slide"></div>
            <div class="swiper-slide"></div>
        </div>
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
        <div class="swiper-pagination"></div>
      </div>

      <div class="shopcatego">
        <h2 class="shopcatego-head">
            <a href="">
                商品分类
            </a>
        </h2>
        <div class="shopcatego-img">
             <div class="itemcate">
                  <div class="itemName">今日头条</div>
                  <div class="item-img">
                      <img src="./img/1.jpg" alt="">
                  </div>
             </div>
         </div>
     </div>
    
      <!-- Swiper JS 轮播图-->
      <script src="./js/swiper-bundle.min.js"></script>
      <script src="./js/rotation.js"></script>
         <!-- 商品分类 -->
      <!-- Initialize Swiper -->
      <script>
        var swiper = new Swiper(".mySwiper", {
          slidesPerView: 1,
          spaceBetween: 30,
          keyboard: {
            enabled: true,
          },
          pagination: {
            el: ".swiper-pagination",
            clickable: true,
          },
          navigation: {
            nextEl: ".swiper-button-next",
            prevEl: ".swiper-button-prev",
          },
        });
      </script>
      <script src="./js/shop.js"></script>
      <script src="./js/index.js"></script>
      <script src="./js/routerguard.js"></script>
</body>
</html>